package com.glut.library.service;

import com.glut.library.entity.Book;
import com.glut.library.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  服务类接口
 *
 * @author stubborn
 * @since 2024-12-13 16:28
 */
public interface IUsersService extends IService<Users> {

    boolean registerUser (Users user);

    Users login(String username, String password, String role);

    List<Users> searchUsers(String query);

    Users findByUsername(String username);
}
